const initState = {
  value: '我是初始值',
  list: ['spa', '妹纸']
}
const reducer = (state = initState, action) => {
  console.log(state, action, 'reducer')
  switch (action.type) {
    case 'TYPE':
      return Object.assign({}, state, action)
    case 'ADD':
      return Object.assign({}, state, action)
    default:
      return state
  }
}
export {
  reducer
}